package cn.dianhun.om.jpa.utills;

import lombok.Getter;

/**
 * @author Lin
 */
@Getter
public enum ResultEnum {
    /**
     * errors
     */
    SUCCESS(20000, "成功"),
    ERROR(20001, "错误"),
    ;

    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
